package vn.orderonline.core.dao.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class DrinkBasketId implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer orderId;
	private Integer drinkId;
	
	public DrinkBasketId() {
		
	}
	
	public DrinkBasketId(Integer orderId, Integer drinkId) {
		this.orderId = orderId;
		this.drinkId = drinkId;
	}

	@Column(name = "ORDER_ID", nullable = false, precision = 10, scale = 0)
	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	@Column(name = "DRINK_ID", nullable = false, precision = 10, scale = 0)
	public Integer getDrinkId() {
		return drinkId;
	}

	public void setDrinkId(Integer drinkId) {
		this.drinkId = drinkId;
	}
	
}
